package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 问题反馈_日志
 * </p>
 *
 * @author lizhiyuan
 * @since 2020-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("feedback_log")
@ApiModel(value="FeedbackLogEntity对象", description="问题反馈_日志")
public class FeedbackLogEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "日志ID")
    @TableId(value = "fbl_id")
    private String id;

    @ApiModelProperty(value = "单号")
    @TableField("fbl_fdb_id")
    @NotNull
    private String fdbId;

    @ApiModelProperty(value = "状态")
    @TableField("fbl_status")
    @NotNull
    private String status;

    @ApiModelProperty(value = "用户ID")
    @TableField("fbl_user_id")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    @TableField("fbl_user_name")
    private String userName;

    @ApiModelProperty(value = "创建日期")
    @TableField("fbl_create_date")
    private LocalDateTime createDate;


    public static final String FBL_ID = "fbl_id";

    public static final String FBL_FDB_ID = "fbl_fdb_id";

    public static final String FBL_STATUS = "fbl_status";

    public static final String FBL_USER_ID = "fbl_user_id";

    public static final String FBL_USER_NAME = "fbl_user_name";

    public static final String FBL_CREATE_DATE = "fbl_create_date";

}
